package com.atxwq.shop.product.service.impl;

import com.atxwq.shop.model.entity.product.Brand;
import com.atxwq.shop.product.mapper.BrandMapper;
import com.atxwq.shop.product.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description TODO
 * @Date 2025/5/20 22:19
 * @Created by 12336
 */
@Service
public class BrandServiceImpl implements BrandService {

    @Autowired
    private BrandMapper brandMapper;

    /**
     * 查询所有品牌
     * @return
     */
    @Override
    public List<Brand> findAll() {
        return brandMapper.findAll();
    }
}
